using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class SysModuleTable : TableInfo
{
public const string C_TABLENAME = "Sys_Module";

public const string C_MODULEPRIMARYID = "MODULEPRIMARYID";

public const string C_MODULEID = "MODULEID";

public const string C_MODULENAME = "MODULENAME";

public const string C_PARENTMODULEID = "PARENTMODULEID";

public const string C_FUNCTIONURL = "FUNCTIONURL";

public const string C_PAGETYPE = "PAGETYPE";

public const string C_MODIFYCOLUMNLASTOFINDEX = "MODIFYCOLUMNLASTOFINDEX";

public const string C_DELETECOLUMNLASTOFINDEX = "DELETECOLUMNLASTOFINDEX";

public const string C_MODULERIGHTS = "MODULERIGHTS";

public const string C_ORDERNO = "ORDERNO";

public const string C_DATARIGHTS = "DATARIGHTS";

public const string C_STATUS = "STATUS";

public const string C_CREATEUSERID = "CREATEUSERID";

public const string C_CREATEUSERNAME = "CREATEUSERNAME";

public const string C_CREATEDATE = "CREATEDATE";

public const string C_MODIFYUSERID = "MODIFYUSERID";

public const string C_MODIFYUSERNAME = "MODIFYUSERNAME";

public const string C_MODIFYDATE = "MODIFYDATE";

public SysModuleTable()
{
_tableName = "Sys_Module";
}

protected static SysModuleTable _current;
public static SysModuleTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new SysModuleTable();

_current.Add(C_MODULEPRIMARYID, new ColumnInfo(C_MODULEPRIMARYID, "", true, typeof(Int32?)));

_current.Add(C_MODULEID, new ColumnInfo(C_MODULEID, "", false, typeof(String)));

_current.Add(C_MODULENAME, new ColumnInfo(C_MODULENAME, "", false, typeof(String)));

_current.Add(C_PARENTMODULEID, new ColumnInfo(C_PARENTMODULEID, "", false, typeof(String)));

_current.Add(C_FUNCTIONURL, new ColumnInfo(C_FUNCTIONURL, "", false, typeof(String)));

_current.Add(C_PAGETYPE, new ColumnInfo(C_PAGETYPE, "", false, typeof(String)));

_current.Add(C_MODIFYCOLUMNLASTOFINDEX, new ColumnInfo(C_MODIFYCOLUMNLASTOFINDEX, "", false, typeof(Int32?)));

_current.Add(C_DELETECOLUMNLASTOFINDEX, new ColumnInfo(C_DELETECOLUMNLASTOFINDEX, "", false, typeof(Int32?)));

_current.Add(C_MODULERIGHTS, new ColumnInfo(C_MODULERIGHTS, "", false, typeof(String)));

_current.Add(C_ORDERNO, new ColumnInfo(C_ORDERNO, "", false, typeof(Int32?)));

_current.Add(C_DATARIGHTS, new ColumnInfo(C_DATARIGHTS, "", false, typeof(String)));

_current.Add(C_STATUS, new ColumnInfo(C_STATUS, "", false, typeof(String)));

_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String)));

_current.Add(C_CREATEUSERNAME, new ColumnInfo(C_CREATEUSERNAME, "", false, typeof(String)));

_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String)));

_current.Add(C_MODIFYUSERNAME, new ColumnInfo(C_MODIFYUSERNAME, "", false, typeof(String)));

_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));

}

public ColumnInfo MODULEPRIMARYID
{
get { return this[C_MODULEPRIMARYID]; }
}

public ColumnInfo MODULEID
{
get { return this[C_MODULEID]; }
}

public ColumnInfo MODULENAME
{
get { return this[C_MODULENAME]; }
}

public ColumnInfo PARENTMODULEID
{
get { return this[C_PARENTMODULEID]; }
}

public ColumnInfo FUNCTIONURL
{
get { return this[C_FUNCTIONURL]; }
}

public ColumnInfo PAGETYPE
{
get { return this[C_PAGETYPE]; }
}

public ColumnInfo MODIFYCOLUMNLASTOFINDEX
{
get { return this[C_MODIFYCOLUMNLASTOFINDEX]; }
}

public ColumnInfo DELETECOLUMNLASTOFINDEX
{
get { return this[C_DELETECOLUMNLASTOFINDEX]; }
}

public ColumnInfo MODULERIGHTS
{
get { return this[C_MODULERIGHTS]; }
}

public ColumnInfo ORDERNO
{
get { return this[C_ORDERNO]; }
}

public ColumnInfo DATARIGHTS
{
get { return this[C_DATARIGHTS]; }
}

public ColumnInfo STATUS
{
get { return this[C_STATUS]; }
}

public ColumnInfo CREATEUSERID
{
get { return this[C_CREATEUSERID]; }
}

public ColumnInfo CREATEUSERNAME
{
get { return this[C_CREATEUSERNAME]; }
}

public ColumnInfo CREATEDATE
{
get { return this[C_CREATEDATE]; }
}

public ColumnInfo MODIFYUSERID
{
get { return this[C_MODIFYUSERID]; }
}

public ColumnInfo MODIFYUSERNAME
{
get { return this[C_MODIFYUSERNAME]; }
}

public ColumnInfo MODIFYDATE
{
get { return this[C_MODIFYDATE]; }
}

}
}